`timescale 1ns / 1ps

module shake_eliminator(
    input clk_i,  // 1kHz
    input in,
    output out
    );
    parameter shake_const = 50;
    reg last, this;
    reg [8:0] cnt;

    always @(clk_i) begin
        last <= this;
        this <= in;
        if (last^this) begin end
        else if (cnt==
    end
endmodule
